//导入httpRequest
import {httpRequest} from "@/components/until/Request"
//调接口
function getPreStudent(url,data,method){
    return httpRequest(url,data,method)
}
//修改在习生信息
function modifyPreStudent(url,data,method){
    return httpRequest(url,data,method)
}
//添加信息
function addPreStudent(url,data,method){
    return httpRequest(url,data,method)
}
//删除
function deletePreStudent(url,data,method){
    return httpRequest(url,data,method)
}
//获取所有学科
function getSubject(url,data,method){
    return httpRequest(url,data,method) 
}
//根据id获取学生信息
function getStudentById(url,data,method){
    return httpRequest(url,data,method)
}
//获取销售列表
function getSaleList(url,data,method){
    return httpRequest(url,data,method); 
}
//导出
export {getPreStudent,modifyPreStudent,addPreStudent,deletePreStudent,getSubject,getStudentById,getSaleList}